body {
    margin: 0;
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
}

.blue {
    color: cornflowerblue;
}

#menu {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    color: black;
}

.menu-item {
    margin-bottom: 20px;
}

.menu-item-label {
    font-size: 40px;
    font-weight: bold;
    margin: 0;

    &:hover {
        cursor: pointer;
    }
}

.menu-item-text {
    font-size: 16px;
    margin: 0;
}

.menu-item-link {
    font-size: 16px;
    text-decoration: none;
    color: #333333;
    display: block;
    margin-top: 5px;
}

.menu-item-content.collapsed {
    display: none;
}

.project-section,
.contact-section,
.credits-section {
    margin-top: 30rem;
    margin-left: 1rem;
}

.project-section h3,
.contact-section h3,
.credits-section h3 {
    font-size: large;
}

#projectContent,
#contactContent,
#creditsContent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    color: white;
    z-index: 2;
}

#projectContent h1,
#contactContent h1,
#creditsContent h1 {
    text-align: center;
    margin-bottom: 1rem;
    padding: 2rem;
}

.creditsCard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 30vw;
    padding: 5px;
    width: 60%;
}

.projectCard {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    width: 75%;
    height: 17%;
    margin: 0 auto;
    padding: 2rem;
}

#creditsOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    animation: slideUp 10s forwards; /* Animation to slide the overlay off the screen */
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}



.projectPic {
    width: 75%;
    margin-left: 10rem;
    text-align: center;
}

.projectPic img {
    width: 70% !important;
}

.projectText {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.projectPic a,
.projectTitle a {
    text-decoration: none;
}

.projectTitle a {
    color: cornflowerblue !important;
}

.contactCard {
    text-align: center;
    position: absolute;
    top: 30%;
    left: 30%;
    width: 45%;
}

.contactCard a {
    color: cornflowerblue;
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.contactCard p {
    padding-top: 5rem;
    font-size: large;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}